package com.api.domain;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author: yangsf
 * @CreateDate: 2024/4/1
 */
@Data
public class LoginUser {

    //1000.账号密码登录 1001.短信注册登录 1002.短信登录
    @NotNull(message = "操作类型不能为空")
    private Integer loginType;

    @NotBlank(message = "登录账号不能为空")
    private String username;

    private String password;
    private String code;
}
